package checklist.db;

public class FileDAOTransalator implements DAOTranslator {

	public Class<?> findClass(Class<?> daoInterface) {
		try {
			return Class.forName(daoInterface.getName().replaceFirst("DAO",
					"FileDAO"));
		} catch (Exception e) {
			throw new RuntimeException(e.getMessage());
		}
	}

}
